package com.wsl.domain;

import com.wsl.Service.Controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;



/**
 * @Author:WangShuliang
 * @Description:
 * @Date:Created in 13:45 2017/10/20
 * @Modified by:
 */
@RestController
public class BController {
    @Autowired
    Controller controller;
    @RequestMapping("wsl")
    public String say(){
        System.out.println("哈哈  我进来了  。。。。");
        return controller.service();
    }
    @RequestMapping("shu")
    public String sayWang(){
        return controller.wang();
    }
}